import request from '@/router/axios';
//查找表格
export const getList = (page, size, params) => {
  return request({
    url: '/account/userAccount/list',
    method: 'post',
    params: {
      ...params,
      page,
      size,
    }
  })
}
//查找流水
export const tradeRecordList = (page, size, params) => {
  return request({
    url: '/account/tradeRecord/list',
    method: 'post',
    params: {
      ...params,
      page,
      size,
    }
  })
}

//查找账号积分流水
export const tradeRecordIntegralList = (page, size, params) => {
  return request({
    url: '/account/tradeRecord/listIntegral',
    method: 'post',
    params: {
      ...params,
      page,
      size,
    }
  })
}
